dotConnect for MySQL Documentation
Devart.Data.MySql Namespace / MySqlHelper Class / ExecuteReader Method / ExecuteReader(String,String,MySqlParameter[]) Method
MySqlConnection object to use for the command.
Command text to use.
Array of MySqlParameter objects to use with the command.

In This Topic
    ExecuteReader(String,String,MySqlParameter[]) Method
    In This Topic
    Executes a single command against a MySQL database, possibly inside an existing transaction, and returns MySqlDataReader as the result.
    Syntax
    'Declaration
     
    Public Overloads Shared Function ExecuteReader( _
       ByVal connectionString As String, _
       ByVal commandText As String, _
       ByVal ParamArray commandParameters() As MySqlParameter _
    ) As MySqlDataReader
    public static MySqlDataReader ExecuteReader( 
       string connectionString,
       string commandText,
       params MySqlParameter[] commandParameters
    )

    Parameters

    connectionString
    MySqlConnection object to use for the command.
    commandText
    Command text to use.
    commandParameters
    Array of MySqlParameter objects to use with the command.

    Return Value

    The MySqlDataReader object ready to read the results of the command.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also